package com.sdry.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.sdry.annotation.BaseService;
import com.sdry.base.BaseServiceImpl;
import com.sdry.entity.CheckDetail;
import com.sdry.entity.CheckDetailExample;
import com.sdry.entity.PartComponent;
import com.sdry.mapper.CheckDetailMapper;
import com.sdry.service.CheckDetailServise;

@Service
@Transactional
@BaseService
public class CheckDetailServiseImpl extends BaseServiceImpl<CheckDetailMapper, CheckDetail, CheckDetailExample> implements CheckDetailServise {

	@SuppressWarnings("unused")
	private static final Logger LOGGER = LoggerFactory.getLogger(CheckDetailServiseImpl.class);
	
    @Resource
    private CheckDetailMapper checkDetailMapper;

	@Override
	public List<PartComponent> selectComByArea(String area) {
		return checkDetailMapper.selectComByArea(area);
	}

}
